/**
 * output package name
 */
package com.kingdee.eas.jky.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class FinishEnum extends StringEnum
{
    public static final String EXCUTING_VALUE = "1";
    public static final String FINISHED_VALUE = "2";
    public static final String KONG_VALUE = "0";

    public static final FinishEnum excuting = new FinishEnum("excuting", EXCUTING_VALUE);
    public static final FinishEnum finished = new FinishEnum("finished", FINISHED_VALUE);
    public static final FinishEnum kong = new FinishEnum("kong", KONG_VALUE);

    /**
     * construct function
     * @param String finishEnum
     */
    private FinishEnum(String name, String finishEnum)
    {
        super(name, finishEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static FinishEnum getEnum(String finishEnum)
    {
        return (FinishEnum)getEnum(FinishEnum.class, finishEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(FinishEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(FinishEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(FinishEnum.class);
    }
}